﻿<navigation:Page 
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
    xmlns:olg="clr-namespace:OpenLightGroup.Common;assembly=OpenLightGroup.Common"
	 xmlns:System="clr-namespace:System;assembly=mscorlib" xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity" xmlns:OpenLightGroup_Common_Interactivity="clr-namespace:OpenLightGroup.Common.Interactivity;assembly=OpenLightGroup.Common.Interactivity" x:Class="Examples.About"
    mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480"
    Title="About" 
    >

	<navigation:Page.Resources>
		
		<olg:StringCollection x:Key="Roles">
			<System:String>PCF\PCF_Development</System:String>
		</olg:StringCollection>
		
	</navigation:Page.Resources>
	<navigation:Page.Style>
		<StaticResource ResourceKey="PageStyle"/>
	</navigation:Page.Style>

    <Grid x:Name="LayoutRoot">
        <ScrollViewer x:Name="PageScrollViewer" Style="{StaticResource PageScrollViewerStyle}">

            <StackPanel x:Name="ContentStackPanel">

                <TextBlock x:Name="HeaderText" Style="{StaticResource HeaderTextStyle}" 
                           Text="About">
                	<i:Interaction.Behaviors>
                		<OpenLightGroup_Common_Interactivity:RoleBasedVisibilityBehavior AllowedRoles="{StaticResource Roles}"/>
                	</i:Interaction.Behaviors>
                </TextBlock>
                <TextBlock x:Name="ContentText" Style="{StaticResource ContentTextStyle}" 
                           Text="About page content"/>

            </StackPanel>

        </ScrollViewer>
    </Grid>

</navigation:Page>